function bbb(a) {
    $(document).ready(function () {

        layui.use('form', function () {
            var form = layui.form;
            console.log(a);
            log(a);

        });
    });

    function log(a) {
        layui.use(['table', 'layer', 'form'], function () {
            var table = layui.table;
            var layer = layui.layer;
            var form = layui.form;
            //第一个实例



                table.render({
                    elem: '#demo'
                    ,id:"idTest"
                    , url: '/curriculum/primary/examineLog' //数据接口
                    , where: { //设定异步数据接口的额外参数，任意设
                        curriculumId: a
                    }
                    , cols: [[ //表头
                        {field: 'logAuditTime', title: '审核时间', fixed: 'left'}
                        , {field: 'logReviewedBy', title: '审核人员'}
                        , {
                            field: 'logResult', title: '审核结果', templet: function (d) {
                                if (d.logResult == 1) {
                                    return "审核通过";
                                } else if (d.logResult == 2) {
                                    return "未通过"
                                }
                            }
                        }
                        , {field: 'logAuditDetails', title: '反馈详情'}
                    ]]
                });
            });



    }

}
